﻿.sidebar-switch {
    display: flex;
    border-bottom: solid 1px #c0c4cc;
    justify-content: center;
    align-items: center;
}

    .sidebar-switch ::deep .form-label {
        margin: 0 0.5rem 0 0;
    }

    .sidebar-switch ::deep .switch {
        width: auto;
    }

.navbar {
    background-color: #8548ff;
}

.navbar-toggler {
    background-color: var(--bs-indigo);
}

.sidebar-content {
    position: relative;
}

.sidebar-bar {
    width: 1px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(208, 215, 222);
}

    .sidebar-bar .sidebar-body {
        position: absolute;
        inset: 0px -2px;
        cursor: col-resize;
        background-color: transparent;
        transition-delay: 0.1s;
    }

        .sidebar-bar .sidebar-body:hover {
            background-color: rgba(175, 184, 193, 0.2);
        }

        .sidebar-bar .sidebar-body.drag,
        .sidebar-bar .sidebar-body.drag:hover {
            background-color: rgb(9, 105, 218);
        }

@media (min-width: 768px) {
    .sidebar-content {
        height: calc(100vh - var(--bs-header-height));
    }

        .sidebar-content.collapse {
            display: flex;
            flex-direction: column;
        }

    ::deep .scroll {
        overflow-x: hidden;
        max-height: calc(100% - 36px);
        padding: 5px 0;
    }

        ::deep .scroll .menu {
            width: var(--bb-sidebar-width);
        }
}
